package com.ljx.NoteBody.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class User implements Serializable {

    private static final long serialVersionUID = 6860790797390346688L;

    private Long id;

    private String username;

    private String nickname;

    private String password;

    private String introduce;

    private String avatar;

    private String email;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private int status;

    public void loginRemoveItem(){
        this.password = "";
    }

}
    